﻿@model BLL.CongNo
@{
    ViewBag.Title = "Thêm Quản Lý";
}


<div class="conten_title">
    <div class="row">
        <div class="col-md-4">
            <div class="col-md-2">
               
                <img src="~/Images/icon-48-category-add.png" />
            </div>
            <div class="col-md-10">
                <h4>Thêm Nợ Công</h4>
            </div>

        </div>
        <div class="col-md-7">

            <div class="col-md-7">

            </div>
            <!-- end --->
            <div class="col-md-5 conten_title_right ">
                <a href="/QLCongNo/Index">
                    <img style="width:32px;" src="" />

                    <br />
                    back
                </a>
                <a href="#">
                    <span class="icon-32-trash"></span>
                    Delete
                </a>
                <a href="/QLCongNo/Add">
                    <span class="icon-32-new"></span>
                    new
                </a>


            </div>

        </div>
    </div>



</div>
<!-- End conten_title-->

<div class="content_table">
    <fieldset class="adminform">
        <legend>Thêm Công Nợ</legend>
        <div class="row">
           
               
                @using (Html.BeginForm("Add", "QLCongNo", FormMethod.Post,
            new { enctype = "multipart/form-data", @class = "form-horizontal" }))
                {
                    <div class="col-md-6 table_left">

                        <div class="form-group">
                            @Html.LabelFor(a => a.MaSP, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.DropDownList("ListSP", null, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.MaSX, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.DropDownList("ListSX", null, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.SoLuong, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.SoLuong, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.GiaSP, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.GiaSP, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.ThanhTien, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.ThanhTien, new { @class = "form-control" })
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            @Html.LabelFor(a => a.ThanhToan, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.ThanhToan, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.ConLai, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.ConLai, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.No, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.No, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.Thuong, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.Thuong, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.TongTien, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextBoxFor(a => a.TongTien, new { @class = "form-control" })
                            </div>
                        </div>
                        <div class="form-group">
                            @Html.LabelFor(a => a.GhiChu, new { @class = "col-sm-4 form-label" })
                            <div class="col-sm-6">
                                @Html.TextAreaFor(a => a.GhiChu, new { @class = "form-control" })
                            </div>
                        </div>
                      
                    </div>
                    
                    <div class="row">
                        <div class="col-md-5">

                        </div>
                        <div class="col-md-2">
                            <input type="submit" value="Thêm" class="btn btn-default" />
                        </div>
                        <div class="col-md-5">

                        </div>
                    </div>
                }
            <!----- left --->
            
            

        </div>
    </fieldset>

</div>



